﻿using BrnMall.Core.Domain.Staff;
using BrnMall.Manager.Domain.AddressBook;
using BrnMall.Web.Framework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Web.StoreAdmin.Models
{
    public class StaffListModel
    {
        public string staffName { get; set; }
        public List<Staff> staffList { get; set; }
        public PageModel PageModel { get; set; }

        public List<Department> depList { get; set; }
    }


    public class WorkWechatModel
    {
        /// <summary>
        /// 授权公司
        /// </summary>
        public string CompanyName { get; set; }


        public int AiState { get; set; }

        public int BossState { get; set; }

        /// <summary>
        /// AI授权时间
        /// </summary>

        public DateTime AiAddTime { get; set; }
        /// <summary>
        /// boss授权时间
        /// </summary>
        public DateTime BossAddTime { get; set; }

    }
    /// <summary>
    /// 添加店铺配送模板模型类
    /// </summary>
    public class AddStaffTemplateModel
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [Required(ErrorMessage = "姓名不能为空")]
        public string Name { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        [Required(ErrorMessage = "职位不能为空")]
        public string Position { get; set; }

        [Required(ErrorMessage = "微信手机不能为空")]
        public string Phone { get; set; }

        /// <summary>
        /// 展示名片手机
        /// </summary>
        [Required(ErrorMessage = "名片手机不能为空")]
        public string Mobile { get; set; }
        /// <summary>
        /// 起步值
        /// </summary>
        [Required(ErrorMessage = "部门不能为空")]
        [MinLength(1)]
        public string DepartmentId { get; set; }
    }
}
